<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>运算符的优先级</title>
    <script>
        let a = 1 + 2 * 3
        console.log(a)  //JS在先乘除后加减,可以用括号改变优先级
        a = 0 && 1 || 3
        b = 0 && (1 || 3)
        console.log(a)
        console.log(b) 
    </script>
</head>

<body>

</body>

</html>